package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService extends IService<Dish> {
    PageResult dishPage(DishPageQueryDTO dishPageQueryDTO);

    void saveWithFlavor(DishDTO dishDTO);

    void delDishWithDishFlavor(List<Long> ids);

    DishVO getDishAndDishflavorById(Long id);

    void updateDishAndDishFlavor(DishDTO dishDTO);

    List<DishVO> getDishWithDishFlavor(int categoryId);

    DishOverViewVO queryOverviewDishes();
}
